package com.corpgovernment.organization.model;

import com.corpgovernment.api.organization.model.org.front.FrequentCardListBean;
import com.ctrip.corp.obt.generic.security.annotation.SecurityEntity;
import com.ctrip.corp.obt.generic.security.annotation.SecurityField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @ClassName: FfpAddRequest
 * @description: TODO
 * @author: zdwang
 * @date: Created in 9:31 2019/7/12
 * @Version: 1.0
 **/
@Data
public class FfpModifyRequest {
    private String fullName;

    private String firstName;

    private String lastName;

    @SecurityEntity
    private List<FfpAddRequest.CardInfo> cardIdList;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date validDate;

    private String birthday;

    private Integer sex;

    private String nationality;

    @SecurityField(securityType = "des_mobile_phone")
    private String phoneNum;
    private String countryCode;
    @SecurityField(securityType = "des_email")
    private String email;//邮箱

    private List<FrequentCardListBean> frequentCardsList;

    private String device;//终端设备app or pc

    private Long frequentId;

    /**
     * 姓
     */
    private String surname;
    /**
     * 名字
     */
    private String givenname;
    /**
     * 完整英文名字
     */
    private String fullEnName;
}